package com.dnjn.happiness.emo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dnjn.happiness.emo.domain.Ranklist;
import com.dnjn.happiness.emo.domain.vo.RanklistVO;

/**
 * 每日打卡榜单ranklistService接口
 *
 * @author amber
 * @date 2024-03-05
 */
public interface IRanklistService extends IService<Ranklist> {

    boolean updateRecord(Long userId, String nickName, boolean hasClockInYesterday);

    Page<RanklistVO> selectPage(Page page);

    Ranklist getByUserId(Long userId);
}
